package com.muli.muwai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.muli.muwai.entity.IntfOrder;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderMapper extends BaseMapper<IntfOrder> {

    @Delete("delete from intf_fin_order where MONTH(start_date)=#{yue}")
    int deleteData(@Param("yue") Integer anInt);
}
